<!DOCTYPE html>
<html>

<head>
    <meta charset="utf-8">
    <meta name=viewport
        content="width=device-width,initial-scale=1,maximum-scale=1,minimum-scale=1,user-scalable=no,minimal-ui">
    <meta name="referrer" content="no-referrer">
    <title>xgplayer</title>
    <link rel="shortcut icon" type="image/vnd.microsoft.icon" href="./ico7.ico" />
    <style>
        *{
            margin: 0px;
            padding: 0px;
        }
    </style>
</head>

<body>
    <div id="mse"></div>
    <script src="../js/mv.js" charset="utf-8"></script>
    <script type="text/javascript">
        let mvsrc = window.sessionStorage.mvsrc.split(",");
        document.title = mvsrc[0];
        let player = new Player({
            id: 'mse',
            volume: 0.3,
            url: mvsrc[1],
            // poster: "https://lf9-cdn-tos.bytecdntp.com/cdn/expire-1-M/byted-player-videos/1.0.0/poster.jpg",
            playsinline: true,
            height: "100vh",
            width: "100%",
            playbackRate: [0.5, 0.75, 1.0, 1.5, 2.0, 2.5, 3.0], //传入倍速可选数组
            defaultPlaybackRate: 1, //默认倍速
            pip: true, //打开画中画
            volume: 1, //默认打开的音量
            autoplay: true, //自动播放
            loop: true, //循环播放
            lastPlayTime: 0, //视频起播时间（单位：秒）
            lastPlayTimeHideDelay: 0, //提示文字展示时长（单位：秒）
            rotate: {   //视频旋转按钮配置项
                innerRotate: true, //只旋转内部video
                clockwise: false // 旋转方向是否为顺时针
            },
            // rotateFullscreen: true, //适配横屏
            // playNext: { //视频自动跳转到下一集
            //     urlList: [
            //         '',
            //         '',
            //         '',
            //     ],
            // },
            download: true, //视频下载
            cssFullscreen: true, //只在当前页面全屏
            screenShot: { //截图
                saveImg: true,
                quality: 0.92,
                type: 'image/png',
                format: '.jpg'
            },
            controls: true, //组件开关
        });
    </script>
</body>

</html>